Socket
Socket
Sign inDemoInstall

organizer-core

Package Overview
Dependencies
89
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    organizer-core

Core modules for organizer


Version published
Maintainers
1
Created

Readme

Source

Core modules for organizer project

  • Rest
  • Jwt
  • Common

Usage example

import express from 'express'
import { Rest } from 'organizer-core'

// Create express application
const app: express.Application = express()

app.use(express.json())

// Get basic routes: "/" and "not found"
app.use(Rest.getBaseRouter('my app', '0.1'))

// Use the provided error middleware
app.use(Rest.Middleware.errorMiddleware)

export default app

Development

Commands

Run all tests: npm run test

Run all tests and put coverage results in /coverage folder: npm run coverage

Build the package (/dist folder): npm run build

FAQs

Last updated on 07 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc